using UnityEngine;
using System.Collections;

public class SceneManager : MonoBehaviour 
{
	public string tagScene;
	public string level;
	
	void Start () 
	{
	
	}
	
	void Update () 
	{
	
	}
	
	void OnMouseDown()
	{
		if(gameObject.tag == tagScene)
		{
			Application.LoadLevel(level);
		}
	}
}
